import QtQuick 1.1
import com.nokia.symbian 1.1
import com.nokia.extras 1.1


import "core.js" as Core
import "settings.js" as Settings
import "date.js" as CustDate

Page {
    id:splashScreenPage
Rectangle {
    width: 360
    height: 640
    id:container

    SplashScreen {
            id: splashScreen

            // The size should always be defined.
            anchors.fill: container

            // Put splash screen on top of everything. Otherwise you would need to lay it out as the last objects
            // in the layout for it to be on top of all other objects. But with z-property we get same results.
            z: 100

            // By default splash screen is not visible.
            opacity: 0.0

            // Splash screen timeout.
            timeout: 1

            // Define our own graphics to be used instead of the default
            // one in SplashScreen (although these are exactly the same :).
            image: "fpsplash.png"

            // When splash screen times out, do something, e.g. change the state.
            // Here's just a debug print for testing purposes.
            onSplashTimeout: {
                    console.log("Splash Screen finished");
                loader.source="main.qml";

            }

            // Trigger the SplashScreen!
            show: true

        }

    }

    Loader{
        id:loader

    }


}
